home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / Developer Essentials Jul 90 / Programming / MPW Interfaces & Libraries 3.1 / AIncludes / QDOffscreenEqu.a < prev    next >
Encoding:
Text File  |  1989-10-13  |  1.8 KB  |  53 lines  |  [TEXT/MPS ]

  1. ; Version: 2.15
  2. ; Created: Wednesday, May 10, 1989 at 11:12:05 AM
  3. ;
  4. ; File: QDOffscreenEqu.a
  5. ;
  6. ; Assembler Interface to the Macintosh Libraries
  7. ; Copyright Apple Computer, Inc.  1985-1989
  8. ; All rights reserved
  9. ;
  10. ;___________________________________________________________________________
  11. ;
  12. ; Offscreen Equates -- This file defines the public equates for Offscreen
  13. ; routines.
  14. ;___________________________________________________________________________
  15.  
  16.  
  17.  
  18. ; New Error codes
  19.  
  20. cDepthErr        EQU         -157                    ; invalid pixel depth
  21.  
  22. ; Flag bits passed to or returned by UpdateGWorld
  23.  
  24. purgePixBit     EQU         0                        ; make the offscreen buffer purgeable
  25. noNewDeviceBit    EQU         1                        ; don't create an offscreen device
  26. pixelsPurgeableBit EQU        6                        ; pixels are purgeable
  27. pixelsLockedBit   EQU        7                        ; pixels are locked
  28. mapPixBit        EQU         16                        ; set if color table mapping occurred
  29. newDepthBit     EQU         17                        ; set if pixels were scaled to a different depth
  30. alignPixBit     EQU         18                        ; set if pixels were realigned to screen alignment
  31. newRowBytesBit    EQU         19                        ; set if pixmap was reconfigured in a new rowBytes
  32. reallocPixBit    EQU         20                        ; set if offscreen buffer had to be reallocated
  33. clipPixBit        EQU         28                        ; set if pixels were or are to be clipped
  34. stretchPixBit    EQU         29                        ; set if pixels were or are to be stretched/shrinked
  35. ditherPixBit    EQU         30                        ; set if pixels were or are to be dithered
  36. gwFlagErrBit    EQU         31                        ; sign bit set indicates error
  37.  
  38. ; Mask equivalents of the above bits
  39.  
  40. purgePix        EQU         $1
  41. noNewDevice     EQU         $2
  42. pixelsPurgeable   EQU        $40
  43. pixelsLocked    EQU         $80
  44. mapPix            EQU         $10000
  45. newDepth        EQU         $20000
  46. alignPix        EQU         $40000
  47. newRowBytes     EQU         $80000
  48. reallocPix        EQU         $100000
  49. clipPix         EQU         $10000000
  50. stretchPix        EQU         $20000000
  51. ditherPix        EQU         $40000000
  52. gwFlagErr        EQU         $80000000
  53.